package com.group.www.pojo;

import java.io.Serializable;
import java.util.Date;

public class AdminInfo implements Serializable {
    private Integer adminid;

    private String adminname;

    private String password;

    private Integer loginnum;

    private Date lasttime;

    private static final long serialVersionUID = 1L;

    public Integer getAdminid() {
        return adminid;
    }

    public void setAdminid(Integer adminid) {
        this.adminid = adminid;
    }

    public String getAdminname() {
        return adminname;
    }

    public void setAdminname(String adminname) {
        this.adminname = adminname == null ? null : adminname.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Integer getLoginnum() {
        return loginnum;
    }

    public void setLoginnum(Integer loginnum) {
        this.loginnum = loginnum;
    }

    public Date getLasttime() {
        return lasttime;
    }

    public void setLasttime(Date lasttime) {
        this.lasttime = lasttime;
    }

    public AdminInfo() {
    }

    public AdminInfo(Integer adminid, String adminname, String password, Integer loginnum, Date lasttime) {
        this.adminid = adminid;
        this.adminname = adminname;
        this.password = password;
        this.loginnum = loginnum;
        this.lasttime = lasttime;
    }

    @Override
    public String toString() {
        return "AdminInfo{" +
                "adminid=" + adminid +
                ", adminname='" + adminname + '\'' +
                ", password='" + password + '\'' +
                ", loginnum=" + loginnum +
                ", lasttime=" + lasttime +
                '}';
    }
}